rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR.
authorChristoph Muellner <[email protected]>
Tue, 7 May 2019 08:37:22 +0000 (10:37 +0200)
committerKever Yang <[email protected]>
Thu, 30 May 2019 10:22:35 +0000 (18:22 +0800)
Puma SoMs have a 4 MB SPI NOR flash.
Therefore we can move the environment to the end of the flash
(4 MiB - 16 kiB) in order to not overlap with SPL.

Reported-by: Jakob Unterwurzacher <[email protected]>
Signed-off-by: Christoph Muellner <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
board/theobroma-systems/puma_rk3399/Kconfig

index 8a94cbd9edbaacd973c35771ac26e2a7ab582983..9e2325275494090fc594f2e803cc69a2d509ce48 100644 (file)
@@ -16,6 +16,6 @@ config ENV_SIZE
        default 0x2000
 
 config ENV_OFFSET
-       default 0x3c000 if ENV_IS_IN_SPI_FLASH
+       default 0x3fc000 if ENV_IS_IN_SPI_FLASH
 
 endif